logStack

fun logStack(thread: Thread = Thread.currentThread(), stack: Array<StackTraceElement> = thread.stackTrace, maxLevels: Int? = null)